﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;

namespace OSM
{
	static partial class ext
	{
		public static int ReadInt32(this TextReader R)
		{
			return int.Parse(R.ReadLine());
		}
	}
	public class Graph_Admin : Graph<OSMRelation, OSMWay>
	{
		public Graph_Admin()
			: base()
		{
		}
		public void Build(OSMData Data)
		{
			foreach (OSMRelation R in Data.RelID.Values)
				;
		}
	}
	public class Graph_Territory : GraphPoint<OSMRelation, OSMWay>
	{
		public List<OSMWay> OwnBorder = new List<OSMWay>();
		public Graph_Territory(OSMRelation R)
			: base(R)
		{
		}
	}
	public class Edge_Border : GraphEdge<OSMWay, OSMRelation>
	{
		public Edge_Border(Graph_Territory t1, Graph_Territory t2, OSMWay W)
			: base(t1, t2, W)
		{
		}
	}
}